The source code for Libidn2 is available at ftp.gnu.org/gnu/libidn